package site.luojie.netty.rpc.common;

/**
 * 实例信息
 *
 * @author jie.luo
 * @since 2020-08-11
 */
public class Server {
    /**
     * 实例IP
     */
    private String host;
    /**
     * 实例端口
     */
    private int port;

    private String key;

    public Server(String host, int port) {
        this.host = host;
        this.port = port;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }
}
